package com.sn.author.common.exception;


import com.sn.author.common.enums.ExceptionEnum;

/**
 * @Author Jackies
 * @Date 2019/12/1 14:29
 * @Description TODO://
 **/
public class HeaderException extends AException {

    public HeaderException(String message) {
        super(message);
    }

    public HeaderException(Integer code, String message) {
        super(code, message);
    }

    public HeaderException(String message, Throwable cause) {
        super(message, cause);
    }

    public HeaderException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMessage());
    }
}
